#executable
sopa2012-02: main.o timer.o interrupt.o
	gcc -o sopa2012-02 main.o timer.o interrupt.o -lpthread
main.o: src/main.c
	gcc -c src/main.c

#libraries
timer.o: src/timer.c include/timer.h
	gcc -c src/timer.c
	
interrupt.o: src/interrupt.c include/interrupt.h
	gcc -Wall -c src/interrupt.c	

#misc
clean:
	rm -f ./*.o sopa2012-02
